<div class="modal-header">
	<h4 class="modal-title" id="ngdialog3-aria-labelledby">选择人员</h4>
</div>
<div class="modal-body">
	<div class="row">
		<div class="col-xs-8">
			<div class="input-group">
				<input type="text"
					class="form-control ng-pristine ng-valid ng-touched ng-untouched"
					ng-model="keyword" id="exampleInputAmount" placeholder="部门编码/名称">
				<div ng-click="queryDeptData();" class="btn input-group-addon btn-sm">
					<i class="glyphicon glyphicon-search"></i>
				</div>
			</div>
		</div>
	</div>
	<div class="row space20">
		<div class="col-xs-12">
			<table class="table table-hover table-bordered">
				<thead>
					<tr class="active">
						<th>部门编号</th>
						<th>部门名称</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-class="{'info':department==seletedDept}"
						ng-dblclick="dbClick(department)"
						ng-repeat="department in departments" class="pointer ng-scope"
						ng-click="selectDept(department)">
						<td ng-bind="department.DeptCode" class="ng-binding"></td>
						<td ng-bind="department.DeptName" class="ng-binding"></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<div class="row">
		<div class="col-xs-12 p-0" uppager="">
			<nav class="clearfix text-center" ng-show="pager.isShowPager">
				<ul class="pagination m-0">
					<li ng-show="!pager.noPrevious()" class="first"><a
						ng-click="pager.previous()" href="javascript:void(0);"
						aria-label="Previous"><span aria-hidden="true">首页</span></a></li>
					<li ng-class="{disabled: pager.noPrevious()}" class=""><a
						ng-click="pager.selectPrevious()" href="javascript:void(0);"
						aria-label="Previous"><span aria-hidden="true">上一页</span></a></li>
					<!-- ngRepeat: page in pager.pages -->
					<li ng-repeat="page in pager.pages"
						ng-class="{active: pager.isActive(page)}" class="ng-scope"><a
						href="javascript:void(0);" ng-click="pager.selectPage(page)"
						class="ng-binding">1</a></li>
					<!-- end ngRepeat: page in pager.pages -->
					<li ng-repeat="page in pager.pages"
						ng-class="{active: pager.isActive(page)}" class="ng-scope active">
						<a href="javascript:void(0);" ng-click="pager.selectPage(page)"
						class="ng-binding">2</a>
					</li>
					<!-- end ngRepeat: page in pager.pages -->
					<li ng-class="{disabled: pager.noNext()}" class="next disabled">
						<a ng-click="pager.selectNext()" href="javascript:void(0);"
						aria-label="Next"> <span aria-hidden="true">下一页</span>
					</a>
					</li>
					<li ng-show="!pager.noNext()" class="next ng-hide"><a
						ng-click="pager.last()" href="javascript:void(0);"
						aria-label="Next"> <span aria-hidden="true">末页</span>
					</a></li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<div class="modal-footer">
	<div class="col-xs-12">
		<button class="btn btn-save btn-warning" ng-click="ok()">确定</button>
		<button class="btn btn-save " ng-click="cancel()">取消</button>
	</div>
</div>